home *** CD-ROM | disk | FTP | other *** search
/ Aminet 2 / Aminet AMIGA CDROM (1994)(Walnut Creek)[Feb 1994][W.O. 44790-1].iso / Aminet / gfx / conv / ilbm24.lha / ilbm / readilbm.h < prev    next >
C/C++ Source or Header  |  1993-01-30  |  409b  |  21 lines

  1. /*
  2.  * include file for ilbm -> sunraster read.c
  3.  *
  4.  */
  5.  
  6. #include <stdio.h>
  7. #include <fcntl.h>
  8. #include <sys/file.h>
  9. #include <sunras.h>
  10. #include <ilbm.h>
  11.  
  12. #define ASSIGN(p,red,grn,blu) do { (p).r = (red); (p).g = (grn); (p).b = (blu); } while ( 0 )
  13. #define ALLOCROW( cols ) ((pixel*) malloc( cols * sizeof(pixel) ))
  14.  
  15. pixel *pixelrow;
  16.  
  17. FILE *fp;
  18.  
  19. struct BitMapHeader ilbmheader;
  20. struct RasterHeader sunheader;
  21.